home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: nbdchc4.bnr.ca!news
  2. From: Carlos Ng <carlos.ng.0141758@nt.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Method in MSVC++4
  5. Date: Tue, 30 Jan 1996 11:16:30 -0800
  6. Organization: Nortel
  7. Message-ID: <310E6E8E.42DE@nt.com>
  8. References: <kosoy.822883927@interactive.net>
  9. NNTP-Posting-Host: 47.149.128.62
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b5 (Win16; I)
  14.  
  15. Alex Kosoy wrote:
  16. > I'm fairly new to programming using MFC.  I need to have a CStatic
  17. > control with a caption whose text color i can manipulate during
  18. > runtime.
  19. > I have created the dialog and the static control using the resource
  20. > editor but there does not seem to be any method for manipulating
  21. > the colors for the caption in the CStatic control.  Im hoping to
  22. > avoid having to write an OLE control to do this..
  23. > Am I overlooking something??
  24. > Please help..
  25. > Thanks,
  26. > AlexI used VC 1.5 and I don't see how you can change the color of text 
  27. easily.
  28. there are two ways"
  29. 1. use a VBX 3D text controls or subclass the edit control and do a 
  30. textout.
  31.